package me.keiwu.user.service;

import me.keiwu.pub.data.ResponseV2;
import me.keiwu.user.domain.Comment;
import me.keiwu.user.domain.CommentDetail;
import org.springframework.data.domain.Page;

import java.io.UnsupportedEncodingException;

/**
 * Created by kei on 02/02/2018.
 */
public interface CommentService {

    Page<Comment> list(Long owner, int page, int size);

    Page<CommentDetail> detail(Long commentId, int page, int size);

    ResponseV2 comment(Long owner, Long commenter, String message);

    Comment getComment(Long owner, Long commenter);

//    ResponseV2 testComment(Long owner, Long commenter) throws UnsupportedEncodingException;
}
